﻿using FluentMigrator;

namespace Rubikev.Rockface.Database.ForeignKeys
{
   /// <summary>
   /// Creates a foreign key from the Climb table's region ID to the Region table
   /// </summary>
   [Migration(201106052124)]
   public class CreateClimbRegionToRegionForeignKey : CreateForeignKeyMigration
   {
      /// <summary>
      /// The name of the climb table
      /// </summary>
      public override string FromTableName
      {
         get { return "Climb"; }
      }

      /// <summary>
      /// The name of the region table
      /// </summary>
      public override string ToTableName
      {
         get { return "Region"; }
      }
   }
}
